aeron-client/src/main/java/io/aeron/logbuffer/FrameDescriptor.java
public static void frameType(final UnsafeBuffer buffer, final int termOffset, final int type)
    {
        buffer.putShort(typeOffset(termOffset), (short)type, LITTLE_ENDIAN);
    }
public static void frameType(final UnsafeBuffer buffer, final int termOffset, final int type)
    {
        buffer.putShort(typeOffset(termOffset), (short)type, LITTLE_ENDIAN);
    }
Write the type field for a frame.

@param buffer     containing the frame.
@param termOffset at which a frame begins.
@param type       type value for the frame.