Search Results for

    Show / Hide Table of Contents

    Message.GetBits Method

    Namespace: Riptide
    Assembly: RiptideNetworking.dll

    Overloads

    GetBits(int, out byte)

    Retrieves the next amount bits (up to 8) from the message.

    GetBits(int, out ushort)

    Retrieves the next amount bits (up to 16) from the message.

    GetBits(int, out uint)

    Retrieves the next amount bits (up to 32) from the message.

    GetBits(int, out ulong)

    Retrieves the next amount bits (up to 64) from the message.

    GetBits(int, out byte)

    Retrieves the next amount bits (up to 8) from the message.

    public Message GetBits(int amount, out byte bitfield)

    Parameters

    int amount

    The number of bits to retrieve.

    byte bitfield

    The bits that were retrieved.

    Returns

    Message

    The messages that the bits were retrieved from.

    GetBits(int, out ushort)

    Retrieves the next amount bits (up to 16) from the message.

    public Message GetBits(int amount, out ushort bitfield)

    Parameters

    int amount

    The number of bits to retrieve.

    ushort bitfield

    The bits that were retrieved.

    Returns

    Message

    The messages that the bits were retrieved from.

    GetBits(int, out uint)

    Retrieves the next amount bits (up to 32) from the message.

    public Message GetBits(int amount, out uint bitfield)

    Parameters

    int amount

    The number of bits to retrieve.

    uint bitfield

    The bits that were retrieved.

    Returns

    Message

    The messages that the bits were retrieved from.

    GetBits(int, out ulong)

    Retrieves the next amount bits (up to 64) from the message.

    public Message GetBits(int amount, out ulong bitfield)

    Parameters

    int amount

    The number of bits to retrieve.

    ulong bitfield

    The bits that were retrieved.

    Returns

    Message

    The messages that the bits were retrieved from.

    • Improve this Doc
    • View Source
    • Support Riptide
    In This Article
    Back to top Copyright © Tom Weiland 2022
    Made with DocFX