コード例 #1
0
ファイル: Car.cs プロジェクト: Kelindar/misakai-storage-sbe
 public void WrapForDecode(DirectBuffer buffer, int offset, int actingBlockLength, int actingVersion)
 {
     _buffer = buffer;
     _offset = offset;
     _actingBlockLength = actingBlockLength;
     _actingVersion = actingVersion;
     Limit = offset + _actingBlockLength;
 }
 public void WrapForEncode(DirectBuffer buffer, int offset)
 {
     _buffer = buffer;
     _offset = offset;
     _actingBlockLength = BlockLength;
     _actingVersion = TemplateVersion;
     Limit = offset + _actingBlockLength;
 }
コード例 #3
0
ファイル: FLOAT.cs プロジェクト: Kelindar/misakai-storage-sbe
 public void Wrap(DirectBuffer buffer, int offset, int actingVersion)
 {
     _offset = offset;
     _actingVersion = actingVersion;
     _buffer = buffer;
 }
 public void WrapForEncode(MDIncrementalRefreshDailyStatistics parentMessage, DirectBuffer buffer, int count)
 {
     _parentMessage = parentMessage;
     _buffer = buffer;
     _dimensions.Wrap(buffer, parentMessage.Limit, _actingVersion);
     _dimensions.NumInGroup = (byte)count;
     _dimensions.BlockLength = (ushort)25;
     _index = -1;
     _count = count;
     _blockLength = 25;
     parentMessage.Limit = parentMessage.Limit + 3;
 }
 public void WrapForDecode(MDIncrementalRefreshDailyStatistics parentMessage, DirectBuffer buffer, int actingVersion)
 {
     _parentMessage = parentMessage;
     _buffer = buffer;
     _dimensions.Wrap(buffer, parentMessage.Limit, actingVersion);
     _count = _dimensions.NumInGroup;
     _blockLength = _dimensions.BlockLength;
     _actingVersion = actingVersion;
     _index = -1;
     _parentMessage.Limit = parentMessage.Limit + 3;
 }
コード例 #6
0
ファイル: Car.cs プロジェクト: Kelindar/misakai-storage-sbe
 public void WrapForEncode(Car parentMessage, DirectBuffer buffer, int count)
 {
     _parentMessage = parentMessage;
     _buffer = buffer;
     _dimensions.Wrap(buffer, parentMessage.Limit, _actingVersion);
     _dimensions.BlockLength = (ushort)6;
     _dimensions.NumInGroup = (byte)count;
     _index = -1;
     _count = count;
     _blockLength = 6;
     parentMessage.Limit = parentMessage.Limit + SbeHeaderSize;
 }
コード例 #7
0
ファイル: Car.cs プロジェクト: Kelindar/misakai-storage-sbe
 public void WrapForDecode(Car parentMessage, DirectBuffer buffer, int actingVersion)
 {
     _parentMessage = parentMessage;
     _buffer = buffer;
     _dimensions.Wrap(buffer, parentMessage.Limit, actingVersion);
     _blockLength = _dimensions.BlockLength;
     _count = _dimensions.NumInGroup;
     _actingVersion = actingVersion;
     _index = -1;
     _parentMessage.Limit = parentMessage.Limit + SbeHeaderSize;
 }
 public void WrapForEncode(MarketDataIncrementalRefreshTrades parentMessage, DirectBuffer buffer, int count)
 {
     _parentMessage = parentMessage;
     _buffer = buffer;
     _dimensions.Wrap(buffer, parentMessage.Limit, _actingVersion);
     _dimensions.BlockLength = (ushort)34;
     _dimensions.NumInGroup = (byte)count;
     _index = -1;
     _count = count;
     _blockLength = 34;
     parentMessage.Limit = parentMessage.Limit + SbeHeaderSize;
 }