Home
last modified time | relevance | path

Searched refs:leaveOpen (Results 1 – 2 of 2) sorted by relevance

/external/protobuf/csharp/src/Google.Protobuf/
DCodedOutputStream.cs68 private readonly bool leaveOpen; field in Google.Protobuf.CodedOutputStream
95 leaveOpen = true; // Simple way of avoiding trying to dispose of a null reference in CodedOutputStream()
98 private CodedOutputStream(Stream output, byte[] buffer, bool leaveOpen) in CodedOutputStream() argument
104 this.leaveOpen = leaveOpen; in CodedOutputStream()
132 …public CodedOutputStream(Stream output, bool leaveOpen) : this(output, DefaultBufferSize, leaveOpe… in CodedOutputStream() argument
144 …utputStream(Stream output, int bufferSize, bool leaveOpen) : this(output, new byte[bufferSize], le… in CodedOutputStream() argument
709 if (!leaveOpen) in Dispose()
DCodedInputStream.cs60 private readonly bool leaveOpen; field in Google.Protobuf.CodedInputStream
160 public CodedInputStream(Stream input, bool leaveOpen) in CodedInputStream() argument
163 this.leaveOpen = leaveOpen; in CodedInputStream()
279 if (!leaveOpen) in Dispose()