mirror of
https://bitbucket.org/s_l_teichmann/mtsatellite
synced 2024-11-16 15:20:20 +01:00
Added frame for tile mapper. Not working, yet.
This commit is contained in:
parent
4bd6a7d69b
commit
6b717e41fb
|
@ -96,7 +96,7 @@ func (rp *RedisParser) bulkString(line []byte) bool {
|
||||||
return rp.consumer.ConsumeError(
|
return rp.consumer.ConsumeError(
|
||||||
fmt.Errorf("Bulk string too large (%d bytes).\n", i))
|
fmt.Errorf("Bulk string too large (%d bytes).\n", i))
|
||||||
}
|
}
|
||||||
data := make([]byte, i, i)
|
data := make([]byte, i)
|
||||||
for rest := i; rest > 0; {
|
for rest := i; rest > 0; {
|
||||||
var n int
|
var n int
|
||||||
if n, err = rp.reader.Read(data[i-rest : i]); err != nil {
|
if n, err = rp.reader.Read(data[i-rest : i]); err != nil {
|
||||||
|
|
BIN
tilemapper/tilemapper
Executable file
BIN
tilemapper/tilemapper
Executable file
Binary file not shown.
Loading…
Reference in New Issue
Block a user