class PostgreSQLCommandPacketTypeLoader {

    public static PostgreSQLCommandPacketType getCommandPacketType(final PostgreSQLPacketPayload payload) {
        return PostgreSQLCommandPacketType.valueOf(payload.readInt1());
    }

}