/** * Read the type of of the frame from header. * * @param buffer containing the frame. * @param termOffset at which a frame begins. * @return the value of the frame type header. */ public static int FrameVersion(DirectBuffer buffer, int termOffset) { return(buffer.ReadByte(VersionOffset(termOffset))); }