java.lang.Object
org.neo4j.driver.internal.packstream.PackStream.Unpacker
- Enclosing class:
- PackStream
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
byte[]
double
long
long
long
This may seem confusing.long
byte
-
Constructor Details
-
Unpacker
-
-
Method Details
-
unpackStructHeader
- Throws:
IOException
-
unpackStructSignature
- Throws:
IOException
-
unpackListHeader
- Throws:
IOException
-
unpackMapHeader
- Throws:
IOException
-
unpackLong
- Throws:
IOException
-
unpackDouble
- Throws:
IOException
-
unpackBytes
- Throws:
IOException
-
unpackString
- Throws:
IOException
-
unpackNull
This may seem confusing. This method exists to move forward the internal pointer when encountering a null value. The idiomatic usage would be someone usingpeekNextType()
to detect a null type, and then this method to "skip past it".- Returns:
- null
- Throws:
IOException
- if the unpacked value was not null
-
unpackBoolean
- Throws:
IOException
-
peekNextType
- Throws:
IOException
-