.NET Client Documentation
5.5.0
Search Results for

    Show / Hide Table of Contents

    Read Method

    Read(byte[])

    Reads into byte array bytes as much as possible to fill the provided array.

    Declaration
    int Read(byte[] bytes)
    Parameters
    byte[] bytes

    byte array to be filled

    Returns
    int

    whether the number of bytes read, or -1 if end of internal serialized buffer is reached.

    Read(byte[], int, int)

    Reads into byte array bytes starting from the offset value. As much as count bytes will be written if there is available content.

    Declaration
    int Read(byte[] bytes, int offset, int count)
    Parameters
    byte[] bytes

    byte array to be filled

    int offset

    fill starting offset of the provided array

    int count

    the requested number of bytes to be filled.

    Returns
    int

    whether the number of bytes read, or -1 if end of internal serialized buffer is reached.

    In this article
    Back to top Copyright © 2010-2024 Hazelcast, Inc. All rights reserved.
    Generated by DocFX.