read-timestamp ( -- timestamp )


Vocabulary
bson.reader.private

Definition
USING: bson.constants io io.binary kernel sequences ;

IN: bson.reader.private

: read-timestamp ( -- timestamp )
8 read [ 4 head signed-le> ] [ 4 tail signed-le> ] bi
<mongo-timestamp> ;