Skip to content

add documentation for file read/write #405

Open
@AAATechGuy

Description

Hi, is there a way to use this library to read from file and write to file to boost performance? Can you help with an example - difficult to understand interface?

I was trying to use one of following libraries... it seems using IBufferReader

For serialize, interfaces as follows,

void Serialize<T>(IBufferWriter<byte> writer, T value);
void Serialize<T>(Stream stream, T value); 

For deserialize, interfaces as follows,

T Deserialize<T>(ReadOnlyMemory<byte> buffer);
T Deserialize<T>(Stream stream);
T Deserialize<T>(ReadOnlySequence<byte> byteSequence);

Context: we were trying to serialize/deserialize large files/.net objects for which IBuffer* handling is best.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions