protected void addHeader( Structure structure, int size ) {
		if ( size < 0xf ) {
			structure.add( BYTE, "objectDescriptor", null );
		}
		else if ( size < 0xff ) {
			structure.add( BYTE, "objectDescriptor", null );
			structure.add( BYTE, "indicator", null );
			structure.add( BYTE, "length", null );
		}
		else if ( size < 0xffff ) {
			structure.add( BYTE, "objectDescriptor", null );
			structure.add( BYTE, "indicator", null );
			structure.add( WORD, "length", null );
		}
		else {
			throw new RuntimeException( "unexpected size in " + getClass( ).getName( ) );
		}
	}
All data is stored BIG ENDIAN in a binary plist.
Ghidra/Features/FileFormats/src/main/java/ghidra/file/formats/bplist/NSObject.java