def get_byte(buffer: bytes, offset: int) -> int:
    """
    Gets the byte at the given offset.

    :param buffer:  The buffer to get from.
    :param offset:  The offset from the start of the buffer.
    :return:        The byte value.
    """
    return buffer[offset]