Try Playground
Show / Hide Table of Contents

Class CompactReader

CompactReader is the base class for CompactBinaryReader.

Inheritance
System.Object
CompactReader
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
public abstract class CompactReader

Properties

Name Description
BaseStream

Memory stream on which the bytes are read from

Methods

Name Description
Read(Byte[], Int32, Int32)

Reads the specifies number of bytes into buffer. This method reads directly from the underlying stream.

Read(Char[], Int32, Int32)

Reads the specifies number of bytes into buffer. This method reads directly from the underlying stream.

ReadBoolean()

Reads an object of type System.Boolean from the current stream and advances the stream position. This method reads directly from the underlying stream.

ReadBoolean(Boolean)

Reads an object of type System.Boolean from the current stream and advances the stream position. This method reads directly from the underlying stream.

ReadByte()

Reads an object of type System.Byte from the current stream and advances the stream position. This method reads directly from the underlying stream.

ReadByte(Byte)

Reads an object of type System.Byte from the current stream and advances the stream position. This method reads directly from the underlying stream.

ReadBytes(Int32)

Reads an object of type from the current stream and advances the stream position. This method reads directly from the underlying stream.

ReadBytes(Int32, Byte[])

Reads an object of type from the current stream and advances the stream position. This method reads directly from the underlying stream.

ReadChar()

Reads an object of type System.Char from the current stream and advances the stream position. This method reads directly from the underlying stream.

ReadChar(Char)

Reads an object of type System.Char from the current stream and advances the stream position. This method reads directly from the underlying stream.

ReadChars(Int32)

Reads an object of type from the current stream and advances the stream position. This method reads directly from the underlying stream.

ReadChars(Int32, Char[])

Reads an object of type from the current stream and advances the stream position. This method reads directly from the underlying stream.

ReadDateTime()

Reads an object of type System.DateTime from the current stream and advances the stream position. This method reads directly from the underlying stream.

ReadDateTime(DateTime)

Reads an object of type System.DateTime from the current stream and advances the stream position. This method reads directly from the underlying stream.

ReadDecimal()

Reads an object of type System.Decimal from the current stream and advances the stream position. This method reads directly from the underlying stream.

ReadDecimal(Decimal)

Reads an object of type System.Decimal from the current stream and advances the stream position. This method reads directly from the underlying stream.

ReadDouble()

Reads an object of type System.Double from the current stream and advances the stream position. This method reads directly from the underlying stream.

ReadDouble(Double)

Reads an object of type System.Double from the current stream and advances the stream position. This method reads directly from the underlying stream.

ReadGuid()

Reads an object of type System.Guid from the current stream and advances the stream position. This method reads directly from the underlying stream.

ReadGuid(Guid)

Reads an object of type System.Guid from the current stream and advances the stream position. This method reads directly from the underlying stream.

ReadInt16()

Reads an object of type System.Int16 from the current stream and advances the stream position. This method reads directly from the underlying stream.

ReadInt16(Int16)

Reads an object of type System.Int16 from the current stream and advances the stream position. This method reads directly from the underlying stream.

ReadInt32()

Reads an object of type System.Int32 from the current stream and advances the stream position. This method reads directly from the underlying stream.

ReadInt32(Int32)

Reads an object of type System.Int32 from the current stream and advances the stream position. This method reads directly from the underlying stream.

ReadInt64()

Reads an object of type System.Int64 from the current stream and advances the stream position. This method reads directly from the underlying stream.

ReadInt64(Int64)

Reads an object of type System.Int64 from the current stream and advances the stream position. This method reads directly from the underlying stream.

ReadObject()

Reads an object of type System.Object from the current stream and advances the stream position.

ReadObject(Object)

Reads an object of type System.Object from the current stream and advances the stream position.

ReadObjectAs<T>()

Reads an object of specified type from the current stream.

ReadSByte()

Reads an object of type System.SByte from the current stream and advances the stream position. This method reads directly from the underlying stream.

ReadSByte(SByte)

Reads an object of type System.SByte from the current stream and advances the stream position. This method reads directly from the underlying stream.

ReadSingle()

Reads an object of type System.Single from the current stream and advances the stream position. This method reads directly from the underlying stream.

ReadSingle(Single)

Reads an object of type System.Single from the current stream and advances the stream position. This method reads directly from the underlying stream.

ReadString()

Reads an object of type System.String from the current stream and advances the stream position. This method reads directly from the underlying stream.

ReadString(String)

Reads an object of type System.String from the current stream and advances the stream position. This method reads directly from the underlying stream.

ReadUInt16()

Reads an object of type System.UInt16 from the current stream and advances the stream position. This method reads directly from the underlying stream.

ReadUInt16(UInt16)

Reads an object of type System.UInt16 from the current stream and advances the stream position. This method reads directly from the underlying stream.

ReadUInt32()

Reads an object of type System.UInt32 from the current stream and advances the stream position. This method reads directly from the underlying stream.

ReadUInt32(UInt32)

Reads an object of type System.UInt32 from the current stream and advances the stream position. This method reads directly from the underlying stream.

ReadUInt64()

Reads an object of type System.UInt64 from the current stream and advances the stream position. This method reads directly from the underlying stream.

ReadUInt64(UInt64)

Reads an object of type System.UInt64 from the current stream and advances the stream position. This method reads directly from the underlying stream.

SkipBoolean()

Skips an object of type System.Boolean from the current stream and advances the stream position. This method Skips directly from the underlying stream.

SkipByte()

Skips an object of type System.Byte from the current stream and advances the stream position. This method Skips directly from the underlying stream.

SkipBytes(Int32)

Skips an object of type from the current stream and advances the stream position. This method Skips directly from the underlying stream.

SkipChar()

Skips an object of type System.Char from the current stream and advances the stream position. This method Skips directly from the underlying stream.

SkipChars(Int32)

Skips an object of type from the current stream and advances the stream position. This method Skips directly from the underlying stream.

SkipDateTime()

Skips an object of type System.DateTime from the current stream and advances the stream position. This method Skips directly from the underlying stream.

SkipDecimal()

Skips an object of type System.Decimal from the current stream and advances the stream position. This method Skips directly from the underlying stream.

SkipDouble()

Skips an object of type System.Double from the current stream and advances the stream position. This method Skips directly from the underlying stream.

SkipGuid()

Skips an object of type System.Guid from the current stream and advances the stream position. This method Skips directly from the underlying stream.

SkipInt16()

Skips an object of type System.Int16 from the current stream and advances the stream position. This method Skips directly from the underlying stream.

SkipInt32()

Skips an object of type System.Int32 from the current stream and advances the stream position. This method Skips directly from the underlying stream.

SkipInt64()

Skips an object of type System.Int64 from the current stream and advances the stream position. This method Skips directly from the underlying stream.

SkipObject()

Skips an object of type System.Object from the current stream and advances the stream position.

SkipObjectAs<T>()

Skips an object of template type from the current stream and advances the stream position.

SkipSByte()

Skips an object of type System.SByte from the current stream and advances the stream position. This method Skips directly from the underlying stream.

SkipSingle()

Skips an object of type System.Single from the current stream and advances the stream position. This method Skips directly from the underlying stream.

SkipString()

Skips an object of type System.String from the current stream and advances the stream position. This method Skips directly from the underlying stream.

SkipUInt16()

Skips an object of type System.UInt16 from the current stream and advances the stream position. This method Skips directly from the underlying stream.

SkipUInt32()

Skips an object of type System.UInt32 from the current stream and advances the stream position. This method Skips directly from the underlying stream.

SkipUInt64()

Skips an object of type System.UInt64 from the current stream and advances the stream position. This method Skips directly from the underlying stream.

In This Article
  • Properties
  • Methods

Contact Us

PHONE

+1 (214) 764-6933   (US)

+44 20 7993 8327   (UK)

 
EMAIL

sales@alachisoft.com

support@alachisoft.com

NCache
  • NCache Enterprise
  • NCache Professional
  • Edition Comparison
  • NCache Architecture
  • Benchmarks
Download
Pricing
Try Playground

Deployments
  • Cloud (SaaS & Software)
  • On-Premises
  • Kubernetes
  • Docker
Technical Use Cases
  • ASP.NET Sessions
  • ASP.NET Core Sessions
  • Pub/Sub Messaging
  • Real-Time ASP.NET SignalR
  • Internet of Things (IoT)
  • NoSQL Database
  • Stream Processing
  • Microservices
Resources
  • Magazine Articles
  • Third-Party Articles
  • Articles
  • Videos
  • Whitepapers
  • Shows
  • Talks
  • Blogs
  • Docs
Customer Case Studies
  • Testimonials
  • Customers
Support
  • Schedule a Demo
  • Forum (Google Groups)
  • Tips
Company
  • Leadership
  • Partners
  • News
  • Events
  • Careers
Contact Us

  • EnglishChinese (Simplified)FrenchGermanItalianJapaneseKoreanPortugueseSpanish

  • Contact Us
  •  
  • Sitemap
  •  
  • Terms of Use
  •  
  • Privacy Policy
� Copyright Alachisoft 2002 - 2025. All rights reserved. NCache is a registered trademark of Diyatech Corp.
Back to top