}
}
public static SixModelObject readfh(SixModelObject io, SixModelObject res, long bytes, ThreadContext tc) {
if (io instanceof IOHandleInstance) {
IOHandleInstance h = (IOHandleInstance)io;
if (h.handle instanceof IIOSyncReadable) {
if (res instanceof VMArrayInstance_i8) {
VMArrayInstance_i8 arr = (VMArrayInstance_i8)res;
byte[] array = ((IIOSyncReadable)h.handle).read(tc, (int)bytes);