mirror of https://github.com/status-im/nim-rlp.git
commit
6d08835d98
2
rlp.nim
2
rlp.nim
|
@ -61,7 +61,7 @@ proc rlpFromHex*(input: string): Rlp =
|
||||||
proc hasData*(self: Rlp): bool =
|
proc hasData*(self: Rlp): bool =
|
||||||
position < bytes.len
|
position < bytes.len
|
||||||
|
|
||||||
proc currentElemEnd(self: Rlp): int
|
proc currentElemEnd(self: Rlp): int {.gcsafe.}
|
||||||
|
|
||||||
proc rawData*(self: Rlp): BytesRange =
|
proc rawData*(self: Rlp): BytesRange =
|
||||||
return self.bytes[position ..< self.currentElemEnd]
|
return self.bytes[position ..< self.currentElemEnd]
|
||||||
|
|
Loading…
Reference in New Issue