-
Notifications
You must be signed in to change notification settings - Fork 2
/
ISeekableByteChannel.xml
378 lines (378 loc) · 25.5 KB
/
ISeekableByteChannel.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
<Type Name="ISeekableByteChannel" FullName="Java.Nio.Channels.ISeekableByteChannel">
<TypeSignature Language="C#" Value="public interface ISeekableByteChannel : IDisposable, Java.Interop.IJavaPeerable, Java.Nio.Channels.IByteChannel" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract beforefieldinit ISeekableByteChannel implements class Android.Runtime.IJavaObject, class Java.Interop.IJavaPeerable, class Java.IO.ICloseable, class Java.Nio.Channels.IByteChannel, class Java.Nio.Channels.IChannel, class Java.Nio.Channels.IReadableByteChannel, class Java.Nio.Channels.IWritableByteChannel, class System.IDisposable" />
<TypeSignature Language="DocId" Value="T:Java.Nio.Channels.ISeekableByteChannel" />
<TypeSignature Language="F#" Value="type ISeekableByteChannel = interface
 interface IByteChannel
 interface IReadableByteChannel
 interface IChannel
 interface ICloseable
 interface IJavaObject
 interface IDisposable
 interface IJavaPeerable
 interface IWritableByteChannel" />
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces>
<Interface>
<InterfaceName>Android.Runtime.IJavaObject</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Java.Interop.IJavaPeerable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Java.IO.ICloseable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Java.Nio.Channels.IByteChannel</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Java.Nio.Channels.IChannel</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Java.Nio.Channels.IReadableByteChannel</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Java.Nio.Channels.IWritableByteChannel</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.IDisposable</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("java/nio/channels/SeekableByteChannel", "", "Java.Nio.Channels.ISeekableByteChannelInvoker", ApiSince=24)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("java/nio/channels/SeekableByteChannel", "", "Java.Nio.Channels.ISeekableByteChannelInvoker", ApiSince=24)>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>A byte channel that maintains a current <i>position</i> and allows the
position to be changed.</summary>
<remarks>
<para>A byte channel that maintains a current <i>position</i> and allows the
position to be changed.</para>
<para>A seekable byte channel is connected to an entity, typically a file,
that contains a variable-length sequence of bytes that can be read and
written. The current position can be <c>#position() <i>queried</i></c> and
<c>#position(long) <i>modified</i></c>. The channel also provides access to
the current <i>size</i> of the entity to which the channel is connected. The
size increases when bytes are written beyond its current size; the size
decreases when it is <c>#truncate <i>truncated</i></c>.</para>
<para>The <c>#position(long) position</c> and <c>#truncate truncate</c> methods
which do not otherwise have a value to return are specified to return the
channel upon which they are invoked. This allows method invocations to be
chained. Implementations of this interface should specialize the return type
so that method invocations on the implementation class can be chained.</para>
<para>Added in 1.7.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/nio/channels/SeekableByteChannel" title="Reference documentation">Java documentation for <code>java.nio.channels.SeekableByteChannel</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
<Members>
<Member MemberName="Position">
<MemberSignature Language="C#" Value="public long Position ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int64 Position() cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Nio.Channels.ISeekableByteChannel.Position" />
<MemberSignature Language="F#" Value="abstract member Position : unit -> int64" Usage="iSeekableByteChannel.Position " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("position", "()J", "GetPositionHandler:Java.Nio.Channels.ISeekableByteChannelInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("position", "()J", "GetPositionHandler:Java.Nio.Channels.ISeekableByteChannelInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android24.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android24.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int64</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Returns this channel's position.</summary>
<returns>This channel's position,
a non-negative integer counting the number of bytes
from the beginning of the entity to the current position</returns>
<remarks>
<para>Returns this channel's position.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/nio/channels/SeekableByteChannel#position()" title="Reference documentation">Java documentation for <code>java.nio.channels.SeekableByteChannel.position()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="Position">
<MemberSignature Language="C#" Value="public Java.Nio.Channels.ISeekableByteChannel? Position (long newPosition);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Java.Nio.Channels.ISeekableByteChannel Position(int64 newPosition) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Nio.Channels.ISeekableByteChannel.Position(System.Int64)" />
<MemberSignature Language="F#" Value="abstract member Position : int64 -> Java.Nio.Channels.ISeekableByteChannel" Usage="iSeekableByteChannel.Position newPosition" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("position", "(J)Ljava/nio/channels/SeekableByteChannel;", "GetPosition_JHandler:Java.Nio.Channels.ISeekableByteChannelInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("position", "(J)Ljava/nio/channels/SeekableByteChannel;", "GetPosition_JHandler:Java.Nio.Channels.ISeekableByteChannelInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android24.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android24.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Nio.Channels.ISeekableByteChannel</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="newPosition" Type="System.Int64" />
</Parameters>
<Docs>
<param name="newPosition">The new position, a non-negative integer counting
the number of bytes from the beginning of the entity</param>
<summary>Sets this channel's position.</summary>
<returns>This channel</returns>
<remarks>
<para>Sets this channel's position.</para>
<para>Setting the position to a value that is greater than the current size
is legal but does not change the size of the entity. A later attempt to
read bytes at such a position will immediately return an end-of-file
indication. A later attempt to write bytes at such a position will cause
the entity to grow to accommodate the new bytes; the values of any bytes
between the previous end-of-file and the newly-written bytes are
unspecified.</para>
<para>Setting the channel's position is not recommended when connected to
an entity, typically a file, that is opened with the <c>java.nio.file.StandardOpenOption#APPEND APPEND</c> option. When opened for
append, the position is first advanced to the end before writing.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/nio/channels/SeekableByteChannel#position(long)" title="Reference documentation">Java documentation for <code>java.nio.channels.SeekableByteChannel.position(long)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="Read">
<MemberSignature Language="C#" Value="public int Read (Java.Nio.ByteBuffer? dst);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 Read(class Java.Nio.ByteBuffer dst) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Nio.Channels.ISeekableByteChannel.Read(Java.Nio.ByteBuffer)" />
<MemberSignature Language="F#" Value="abstract member Read : Java.Nio.ByteBuffer -> int" Usage="iSeekableByteChannel.Read dst" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Java.Nio.Channels.IReadableByteChannel.Read(Java.Nio.ByteBuffer)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("read", "(Ljava/nio/ByteBuffer;)I", "GetRead_Ljava_nio_ByteBuffer_Handler:Java.Nio.Channels.ISeekableByteChannelInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("read", "(Ljava/nio/ByteBuffer;)I", "GetRead_Ljava_nio_ByteBuffer_Handler:Java.Nio.Channels.ISeekableByteChannelInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android24.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android24.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="dst" Type="Java.Nio.ByteBuffer" />
</Parameters>
<Docs>
<param name="dst">To be added.</param>
<summary>Reads a sequence of bytes from this channel into the given buffer.</summary>
<returns>To be added.</returns>
<remarks>
<para>Reads a sequence of bytes from this channel into the given buffer.</para>
<para>Bytes are read starting at this channel's current position, and
then the position is updated with the number of bytes actually read.
Otherwise this method behaves exactly as specified in the <c>ReadableByteChannel</c> interface.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/nio/channels/SeekableByteChannel#read(java.nio.ByteBuffer)" title="Reference documentation">Java documentation for <code>java.nio.channels.SeekableByteChannel.read(java.nio.ByteBuffer)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="Size">
<MemberSignature Language="C#" Value="public long Size ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int64 Size() cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Nio.Channels.ISeekableByteChannel.Size" />
<MemberSignature Language="F#" Value="abstract member Size : unit -> int64" Usage="iSeekableByteChannel.Size " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("size", "()J", "GetSizeHandler:Java.Nio.Channels.ISeekableByteChannelInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("size", "()J", "GetSizeHandler:Java.Nio.Channels.ISeekableByteChannelInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android24.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android24.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int64</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Returns the current size of entity to which this channel is connected.</summary>
<returns>The current size, measured in bytes</returns>
<remarks>
<para>Returns the current size of entity to which this channel is connected.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/nio/channels/SeekableByteChannel#size()" title="Reference documentation">Java documentation for <code>java.nio.channels.SeekableByteChannel.size()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="Truncate">
<MemberSignature Language="C#" Value="public Java.Nio.Channels.ISeekableByteChannel? Truncate (long size);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Java.Nio.Channels.ISeekableByteChannel Truncate(int64 size) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Nio.Channels.ISeekableByteChannel.Truncate(System.Int64)" />
<MemberSignature Language="F#" Value="abstract member Truncate : int64 -> Java.Nio.Channels.ISeekableByteChannel" Usage="iSeekableByteChannel.Truncate size" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("truncate", "(J)Ljava/nio/channels/SeekableByteChannel;", "GetTruncate_JHandler:Java.Nio.Channels.ISeekableByteChannelInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("truncate", "(J)Ljava/nio/channels/SeekableByteChannel;", "GetTruncate_JHandler:Java.Nio.Channels.ISeekableByteChannelInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android24.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android24.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Nio.Channels.ISeekableByteChannel</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="size" Type="System.Int64" />
</Parameters>
<Docs>
<param name="size">The new size, a non-negative byte count</param>
<summary>Truncates the entity, to which this channel is connected, to the given
size.</summary>
<returns>This channel</returns>
<remarks>
<para>Truncates the entity, to which this channel is connected, to the given
size.</para>
<para>If the given size is less than the current size then the entity is
truncated, discarding any bytes beyond the new end. If the given size is
greater than or equal to the current size then the entity is not modified.
In either case, if the current position is greater than the given size
then it is set to that size.</para>
<para>An implementation of this interface may prohibit truncation when
connected to an entity, typically a file, opened with the <c>java.nio.file.StandardOpenOption#APPEND APPEND</c> option.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/nio/channels/SeekableByteChannel#truncate(long)" title="Reference documentation">Java documentation for <code>java.nio.channels.SeekableByteChannel.truncate(long)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="Write">
<MemberSignature Language="C#" Value="public int Write (Java.Nio.ByteBuffer? src);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 Write(class Java.Nio.ByteBuffer src) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Nio.Channels.ISeekableByteChannel.Write(Java.Nio.ByteBuffer)" />
<MemberSignature Language="F#" Value="abstract member Write : Java.Nio.ByteBuffer -> int" Usage="iSeekableByteChannel.Write src" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Java.Nio.Channels.IWritableByteChannel.Write(Java.Nio.ByteBuffer)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("write", "(Ljava/nio/ByteBuffer;)I", "GetWrite_Ljava_nio_ByteBuffer_Handler:Java.Nio.Channels.ISeekableByteChannelInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("write", "(Ljava/nio/ByteBuffer;)I", "GetWrite_Ljava_nio_ByteBuffer_Handler:Java.Nio.Channels.ISeekableByteChannelInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android24.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android24.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="src" Type="Java.Nio.ByteBuffer" />
</Parameters>
<Docs>
<param name="src">To be added.</param>
<summary>Writes a sequence of bytes to this channel from the given buffer.</summary>
<returns>To be added.</returns>
<remarks>
<para>Writes a sequence of bytes to this channel from the given buffer.</para>
<para>Bytes are written starting at this channel's current position, unless
the channel is connected to an entity such as a file that is opened with
the <c>java.nio.file.StandardOpenOption#APPEND APPEND</c> option, in
which case the position is first advanced to the end. The entity to which
the channel is connected is grown, if necessary, to accommodate the
written bytes, and then the position is updated with the number of bytes
actually written. Otherwise this method behaves exactly as specified by
the <c>WritableByteChannel</c> interface.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/nio/channels/SeekableByteChannel#write(java.nio.ByteBuffer)" title="Reference documentation">Java documentation for <code>java.nio.channels.SeekableByteChannel.write(java.nio.ByteBuffer)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
</Members>
</Type>