Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[S32::Containers] document Buf.subbuf

  • Loading branch information...
commit 4238dafdc83d8e0ab96274766bccb38446c76e32 1 parent c80acf9
@moritz moritz authored
Showing with 10 additions and 2 deletions.
  1. +10 −2 S32-setting-library/Containers.pod
View
12 S32-setting-library/Containers.pod
@@ -19,8 +19,8 @@ DRAFT: Synopsis 32: Setting Library - Containers.pod
Created: 19 Feb 2009 extracted from S29-functions.pod
- Last Modified: 2 Mar 2012
- Version: 30
+ Last Modified: 27 Aug 2012
+ Version: 31
The document is a draft.
@@ -934,8 +934,16 @@ Decode the C<Buf> into a C<Str>. For subtypes that know their encoding (like
C<utf8>, C<utf16>) the C<$encoding> parameter defaults to their intrinsic
encoding instead.
+=item subbuf
+
+ method subbuf($from, $elems?) returns Buf:D
+
+Returns a part of the original buffer, starting from index C<$from> and taking
+C<$elems> elements (or to the end of the buffer, if not provided).
+
=back
+
=head3 C<Buf> Operators
Two C<Buf> objects of the same bit size can be compared with the same
Please sign in to comment.
Something went wrong with that request. Please try again.