Skip to content

Commit

Permalink
Doc comment updated but never committed
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Lundström committed Apr 4, 2018
1 parent 762e9bc commit bd6b455
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/mongo_bytes.pl
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,12 @@
int64(Int),
int64s(Ints).

% Can parse or construct.
%% int64(+Int, -Bytes) is det.
%% int64(-Int, +Bytes) is det.
%
% True if Bytes is the 8-element little-endian byte representation
% of Int. Called with phrase/2, and can be used in both directions.

int64(Int) -->
[B0,B1,B2,B3,B4,B5,B6,B7],
{ bson_bits:integer_bytes(Int, 8, little, [B0,B1,B2,B3,B4,B5,B6,B7]) }.
Expand Down

0 comments on commit bd6b455

Please sign in to comment.