Changeset 112 for branches/php/Base/ProtocolBuffers.php
- Timestamp:
- Jan 19, 2014, 12:50:15 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/php/Base/ProtocolBuffers.php
r16 r112 3 3 class ProtocolBuffers 4 4 { 5 function WriteVarint(TMemoryStream *Stream, Value)5 function WriteVarint(TMemoryStream Stream, Value) 6 6 { 7 7 Data = Value & 0x7f; … … 16 16 } 17 17 18 function ReadVarint(TMemoryStream *Stream)18 function ReadVarint(TMemoryStream Stream) 19 19 { 20 20 Data = MemoryStreamReadByte(Stream); … … 30 30 } 31 31 } 32 33 ?>
Note:
See TracChangeset
for help on using the changeset viewer.