// PutInt32 puts the three most significant bytes of i32 into i24.
PutInt32 puts the three most significant bytes of i32 into i24.
// PutInt32 puts the three most significant bytes of i32 into i24 .
func (i24 *Int24) PutInt32(i32 int32) {
	if littleEndian {
		i24[0] = byte(i32 >> 8)
		i24[1] = byte(i32 >> 16)
		i24[2] = byte(i32 >> 24)
	} else {
		i24[2] = byte(i32 >> 8)
		i24[1] = byte(i32 >> 16)
		i24[0] = byte(i32 >> 24)
	}
}
func ( i24 * Int24 ) PutInt32 ( i32 int32 ) { if littleEndian { i24 [ 0 ] = byte ( i32 >> 8 ) i24 [ 1 ] = byte ( i32 >> 16 ) i24 [ 2 ] = byte ( i32 >> 24 ) } else { i24 [ 2 ] = byte ( i32 >> 8 ) i24 [ 1 ] = byte ( i32 >> 16 ) i24 [ 0 ] = byte ( i32 >> 24 ) } }
PutInt32 puts the three most significant bytes of i32 into i24.
PutInt32 puts the three most significant bytes of i32 into i24 .