Exemple #1
0
 class TestL(mrc.Block):
     i16 = mrc.Int16_LE()
     i32 = mrc.Int32_LE()
     i64 = mrc.Int64_LE()
     ui16 = mrc.UInt16_LE()
     ui32 = mrc.UInt32_LE()
     ui64 = mrc.UInt64_LE()
     f32 = mrc.Float32_LE()
     f64 = mrc.Float64_LE()
Exemple #2
0
class SNDS( mrc.Block ):
    unknown1 =  mrc.Int16_LE( 0x00 )
    files =     mrc.CString( 0x02, length_field=mrc.UInt16_LE, stream=True )
Exemple #3
0
class SNDS(mrc.Block):
    unknown1 = mrc.Int16_LE(0x00)
    files = mrc.CStringNStream(0x02, mrc.UInt16_LE)