예제 #1
0
 internal Enumerator(UnsafePackedBinaryStream stream, int index)
 {
     m_Stream   = stream;
     m_Start    = index;
     m_End      = index + m_Stream.GetToken(index).Length;
     m_Position = index;
 }
예제 #2
0
 internal UnsafeStringView(UnsafePackedBinaryStream stream, int tokenIndex)
 {
     m_Stream     = stream;
     m_TokenIndex = tokenIndex;
 }
예제 #3
0
 public UnsafePrimitiveView(UnsafePackedBinaryStream stream, int tokenIndex)
 {
     m_Stream     = stream;
     m_TokenIndex = tokenIndex;
 }