コード例 #1
0
 public ItemEntity(byte[] buffer)
 {
     ItemCode   = ByteSerializer.ReadString(buffer, ItemCodeOffset, ItemCodeLength);
     ItemName   = ByteSerializer.ReadString(buffer, ItemNameOffset, ItemNameLength);
     SalesPrice = ByteSerializer.ReadLong(buffer, SalesPriceOffset, SalesPriceLength);
 }