コード例 #1
0
ファイル: ByteBuffer.cs プロジェクト: DogWars/Konata
 public short TakeShort(out short value, Endian endian)
 {
     if (CheckAvailable(2))
     {
         value         = ByteConverter.BytesToInt16(buffer, readPosition, endian);
         readPosition += 2;
         return(value);
     }
     throw eobException;
 }