picrate 2.1.2-java → 2.4.2-java
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.mvn/extensions.xml +1 -1
- data/CHANGELOG.md +8 -0
- data/README.md +3 -2
- data/Rakefile +2 -1
- data/docs/_includes/footer.html +1 -1
- data/docs/_layouts/post.html +1 -1
- data/docs/_methods/noise_mode.md +88 -0
- data/docs/_posts/2018-05-06-install_jruby.md +1 -1
- data/docs/_posts/2018-11-18-building-gem.md +3 -1
- data/docs/classes.md +2 -2
- data/docs/editors.md +2 -2
- data/docs/gems.md +3 -3
- data/docs/index.html +1 -1
- data/docs/libraries.md +2 -2
- data/docs/live.md +2 -2
- data/docs/magic.md +2 -2
- data/docs/methods.md +2 -2
- data/docs/modules.md +3 -3
- data/docs/objects.md +2 -2
- data/lib/picrate/app.rb +7 -6
- data/lib/picrate/native_folder.rb +1 -3
- data/lib/picrate/version.rb +1 -1
- data/library/pdf/pdf.rb +7 -0
- data/library/svg/svg.rb +7 -0
- data/picrate.gemspec +5 -3
- data/pom.rb +25 -4
- data/pom.xml +39 -4
- data/src/main/java/monkstone/FastNoiseModuleJava.java +127 -0
- data/src/main/java/monkstone/PicrateLibrary.java +3 -1
- data/src/main/java/monkstone/SmoothNoiseModuleJava.java +127 -0
- data/src/main/java/monkstone/fastmath/DegLutTables.java +111 -0
- data/src/main/java/monkstone/fastmath/Deglut.java +41 -93
- data/src/main/java/monkstone/noise/OpenSimplex2F.java +914 -0
- data/src/main/java/monkstone/noise/OpenSimplex2S.java +1138 -0
- data/src/main/java/monkstone/vecmath/package-info.java +1 -1
- data/src/main/java/monkstone/vecmath/vec3/Vec3.java +1 -1
- data/src/main/java/monkstone/videoevent/package-info.java +1 -1
- data/src/main/java/processing/awt/ShimAWT.java +260 -94
- data/src/main/java/processing/core/PApplet.java +14664 -13450
- data/src/main/java/processing/core/PConstants.java +5 -5
- data/src/main/java/processing/core/PFont.java +1 -1
- data/src/main/java/processing/core/PGraphics.java +200 -201
- data/src/main/java/processing/core/PImage.java +539 -549
- data/src/main/java/processing/core/PShape.java +18 -18
- data/src/main/java/processing/core/PVector.java +23 -23
- data/src/main/java/processing/data/Table.java +4 -4
- data/src/main/java/processing/net/Client.java +13 -13
- data/src/main/java/processing/net/Server.java +5 -5
- data/src/main/java/processing/opengl/PGraphicsOpenGL.java +4 -4
- data/src/main/java/processing/pdf/PGraphicsPDF.java +529 -0
- data/src/main/java/processing/svg/PGraphicsSVG.java +378 -0
- data/test/deglut_spec_test.rb +2 -2
- data/test/respond_to_test.rb +0 -2
- data/test/test_helper.rb +1 -1
- data/vendors/Rakefile +1 -1
- metadata +26 -15
- data/src/main/java/monkstone/noise/SimplexNoise.java +0 -465
@@ -61,12 +61,12 @@ import java.util.Map;
|
|
61
61
|
* For the time being, this class and its shape() and loadShape() friends in
|
62
62
|
* PApplet exist as placeholders for more exciting things to come. If you'd like
|
63
63
|
* to work with this class, make a subclass (see how PShapeSVG works) and you
|
64
|
-
* can play with its internal methods all you like
|
64
|
+
* can play with its internal methods all you like.
|
65
65
|
*
|
66
66
|
* <p>
|
67
67
|
* Library developers are encouraged to create PShape objects when loading shape
|
68
68
|
* data, so that they can eventually hook into the bounty that will be the
|
69
|
-
* PShape interface, and the ease of loadShape() and shape()
|
69
|
+
* PShape interface, and the ease of loadShape() and shape().
|
70
70
|
*
|
71
71
|
* @webref shape
|
72
72
|
* @usage Web & Application
|
@@ -171,7 +171,7 @@ public class PShape implements PConstants {
|
|
171
171
|
*
|
172
172
|
* The width of the PShape document.
|
173
173
|
*
|
174
|
-
|
174
|
+
|
175
175
|
*
|
176
176
|
* @webref pshape:field
|
177
177
|
* @usage web_application
|
@@ -184,7 +184,7 @@ public class PShape implements PConstants {
|
|
184
184
|
*
|
185
185
|
* The height of the PShape document.
|
186
186
|
*
|
187
|
-
|
187
|
+
|
188
188
|
*
|
189
189
|
* @webref pshape:field
|
190
190
|
* @usage web_application
|
@@ -597,7 +597,7 @@ public class PShape implements PConstants {
|
|
597
597
|
* SVG file. For instance, this parameter is controlled by showing or hiding
|
598
598
|
* the shape in the layers palette in Adobe Illustrator.
|
599
599
|
*
|
600
|
-
|
600
|
+
|
601
601
|
*
|
602
602
|
* @return
|
603
603
|
* @webref pshape:method
|
@@ -620,7 +620,7 @@ public class PShape implements PConstants {
|
|
620
620
|
* the SVG file. For instance, this parameter is controlled by showing or
|
621
621
|
* hiding the shape in the layers palette in Adobe Illustrator.
|
622
622
|
*
|
623
|
-
|
623
|
+
|
624
624
|
*
|
625
625
|
* @webref pshape:mathod
|
626
626
|
* @usage web_application
|
@@ -639,7 +639,7 @@ public class PShape implements PConstants {
|
|
639
639
|
* Disables the shape's style data and uses Processing's current styles.
|
640
640
|
* Styles include attributes such as colors, stroke weight, and stroke joints.
|
641
641
|
*
|
642
|
-
|
642
|
+
|
643
643
|
* <h3>Advanced</h3>
|
644
644
|
* Overrides this shape's style information and uses PGraphics styles and
|
645
645
|
* colors. Identical to ignoreStyles(true). Also disables styles for all child
|
@@ -664,7 +664,7 @@ public class PShape implements PConstants {
|
|
664
664
|
* Enables the shape's style data and ignores Processing's current styles.
|
665
665
|
* Styles include attributes such as colors, stroke weight, and stroke joints.
|
666
666
|
*
|
667
|
-
|
667
|
+
|
668
668
|
*
|
669
669
|
* @webref pshape:method
|
670
670
|
* @usage web_application
|
@@ -2419,7 +2419,7 @@ public class PShape implements PConstants {
|
|
2419
2419
|
* with the <b>target</b> parameter. The shape is returned as a
|
2420
2420
|
* <b>PShape</b> object, or <b>null</b> is returned if there is an error.
|
2421
2421
|
*
|
2422
|
-
|
2422
|
+
|
2423
2423
|
*
|
2424
2424
|
* @return
|
2425
2425
|
* @webref pshape:method
|
@@ -3025,7 +3025,7 @@ public class PShape implements PConstants {
|
|
3025
3025
|
* created, only the <b>setFill()</b> method can define a new fill value for
|
3026
3026
|
* the <b>PShape</b>.
|
3027
3027
|
*
|
3028
|
-
|
3028
|
+
|
3029
3029
|
*
|
3030
3030
|
* @webref
|
3031
3031
|
* @param fill
|
@@ -3202,7 +3202,7 @@ public class PShape implements PConstants {
|
|
3202
3202
|
* after the shape is created, only the <b>setStroke()</b> method can define a
|
3203
3203
|
* new stroke value for the <b>PShape</b>.
|
3204
3204
|
*
|
3205
|
-
|
3205
|
+
|
3206
3206
|
*
|
3207
3207
|
* @webref
|
3208
3208
|
* @param stroke
|
@@ -3678,7 +3678,7 @@ public class PShape implements PConstants {
|
|
3678
3678
|
* Using this method with the <b>z</b> parameter requires using the P3D
|
3679
3679
|
* parameter in combination with size.
|
3680
3680
|
*
|
3681
|
-
|
3681
|
+
|
3682
3682
|
*
|
3683
3683
|
* @webref pshape:method
|
3684
3684
|
* @usage web_application
|
@@ -3721,7 +3721,7 @@ public class PShape implements PConstants {
|
|
3721
3721
|
* This method requires a 3D renderer. You need to use P3D as a third
|
3722
3722
|
* parameter for the <b>size()</b> function as shown in the example above.
|
3723
3723
|
*
|
3724
|
-
|
3724
|
+
|
3725
3725
|
*
|
3726
3726
|
* @webref pshape:method
|
3727
3727
|
* @usage web_application
|
@@ -3755,7 +3755,7 @@ public class PShape implements PConstants {
|
|
3755
3755
|
* This method requires a 3D renderer. You need to use P3D as a third
|
3756
3756
|
* parameter for the <b>size()</b> function as shown in the example above.
|
3757
3757
|
*
|
3758
|
-
|
3758
|
+
|
3759
3759
|
*
|
3760
3760
|
* @webref pshape:method
|
3761
3761
|
* @usage web_application
|
@@ -3789,7 +3789,7 @@ public class PShape implements PConstants {
|
|
3789
3789
|
* This method requires a 3D renderer. You need to use P3D as a third
|
3790
3790
|
* parameter for the <b>size()</b> function as shown in the example above.
|
3791
3791
|
*
|
3792
|
-
|
3792
|
+
|
3793
3793
|
*
|
3794
3794
|
* @webref pshape:method
|
3795
3795
|
* @usage web_application
|
@@ -3821,7 +3821,7 @@ public class PShape implements PConstants {
|
|
3821
3821
|
* <b>rotate(PI)</b>. This transformation is applied directly to the shape,
|
3822
3822
|
* it's not refreshed each time <b>draw()</b> is run.
|
3823
3823
|
*
|
3824
|
-
|
3824
|
+
|
3825
3825
|
*
|
3826
3826
|
* @webref pshape:method
|
3827
3827
|
* @usage web_application
|
@@ -3875,7 +3875,7 @@ public class PShape implements PConstants {
|
|
3875
3875
|
* Using this method with the <b>z</b> parameter requires using the P3D
|
3876
3876
|
* parameter in combination with size.
|
3877
3877
|
*
|
3878
|
-
|
3878
|
+
|
3879
3879
|
*
|
3880
3880
|
* @webref pshape:method
|
3881
3881
|
* @usage web_application
|
@@ -3917,7 +3917,7 @@ public class PShape implements PConstants {
|
|
3917
3917
|
* Replaces the current matrix of a shape with the identity matrix. The
|
3918
3918
|
* equivalent function in OpenGL is glLoadIdentity().
|
3919
3919
|
*
|
3920
|
-
|
3920
|
+
|
3921
3921
|
*
|
3922
3922
|
* @webref pshape:method
|
3923
3923
|
* @brief Replaces the current matrix of a shape with the identity matrix
|
@@ -75,7 +75,7 @@ public class PVector implements Serializable {
|
|
75
75
|
* The x component of the vector. This field (variable) can be used to both
|
76
76
|
* get and set the value (see above example.)
|
77
77
|
*
|
78
|
-
|
78
|
+
|
79
79
|
*
|
80
80
|
* @webref pvector:field
|
81
81
|
* @usage web_application
|
@@ -89,7 +89,7 @@ public class PVector implements Serializable {
|
|
89
89
|
* The y component of the vector. This field (variable) can be used to both
|
90
90
|
* get and set the value (see above example.)
|
91
91
|
*
|
92
|
-
|
92
|
+
|
93
93
|
*
|
94
94
|
* @webref pvector:field
|
95
95
|
* @usage web_application
|
@@ -103,7 +103,7 @@ public class PVector implements Serializable {
|
|
103
103
|
* The z component of the vector. This field (variable) can be used to both
|
104
104
|
* get and set the value (see above example.)
|
105
105
|
*
|
106
|
-
|
106
|
+
|
107
107
|
*
|
108
108
|
* @webref pvector:field
|
109
109
|
* @usage web_application
|
@@ -153,7 +153,7 @@ public class PVector implements Serializable {
|
|
153
153
|
* Sets the x, y, and z component of the vector using two or three separate
|
154
154
|
* variables, the data from a PVector, or the values from a float array.
|
155
155
|
*
|
156
|
-
|
156
|
+
|
157
157
|
*
|
158
158
|
* @return
|
159
159
|
* @webref pvector:method
|
@@ -339,7 +339,7 @@ public class PVector implements Serializable {
|
|
339
339
|
*
|
340
340
|
* Make a new 2D unit vector from an angle.
|
341
341
|
*
|
342
|
-
|
342
|
+
|
343
343
|
*
|
344
344
|
* @webref pvector:method
|
345
345
|
* @usage web_application
|
@@ -374,7 +374,7 @@ public class PVector implements Serializable {
|
|
374
374
|
*
|
375
375
|
* Gets a copy of the vector, returns a PVector object.
|
376
376
|
*
|
377
|
-
|
377
|
+
|
378
378
|
*
|
379
379
|
* @return
|
380
380
|
* @webref pvector:method
|
@@ -421,7 +421,7 @@ public class PVector implements Serializable {
|
|
421
421
|
* Calculates the magnitude (length) of the vector and returns the result
|
422
422
|
* as a float (this is simply the equation <em>sqrt(x*x + y*y + z*z)</em>.)
|
423
423
|
*
|
424
|
-
|
424
|
+
|
425
425
|
*
|
426
426
|
* @webref pvector:method
|
427
427
|
* @usage web_application
|
@@ -442,7 +442,7 @@ public class PVector implements Serializable {
|
|
442
442
|
* Faster if the real length is not required in the
|
443
443
|
* case of comparing vectors, etc.
|
444
444
|
*
|
445
|
-
|
445
|
+
|
446
446
|
*
|
447
447
|
* @webref pvector:method
|
448
448
|
* @usage web_application
|
@@ -464,7 +464,7 @@ public class PVector implements Serializable {
|
|
464
464
|
* others have no return value -- they act directly on the vector. See the
|
465
465
|
* examples for more context.
|
466
466
|
*
|
467
|
-
|
467
|
+
|
468
468
|
*
|
469
469
|
* @return
|
470
470
|
* @webref pvector:method
|
@@ -543,7 +543,7 @@ public class PVector implements Serializable {
|
|
543
543
|
* PVector, the others have no return value -- they act directly on the
|
544
544
|
* vector. See the examples for more context.
|
545
545
|
*
|
546
|
-
|
546
|
+
|
547
547
|
*
|
548
548
|
* @return
|
549
549
|
* @webref pvector:method
|
@@ -618,7 +618,7 @@ public class PVector implements Serializable {
|
|
618
618
|
*
|
619
619
|
* Multiplies a vector by a scalar or multiplies one vector by another.
|
620
620
|
*
|
621
|
-
|
621
|
+
|
622
622
|
*
|
623
623
|
* @return
|
624
624
|
* @webref pvector:method
|
@@ -666,7 +666,7 @@ public class PVector implements Serializable {
|
|
666
666
|
*
|
667
667
|
* Divides a vector by a scalar or divides one vector by another.
|
668
668
|
*
|
669
|
-
|
669
|
+
|
670
670
|
*
|
671
671
|
* @return
|
672
672
|
* @webref pvector:method
|
@@ -716,7 +716,7 @@ public class PVector implements Serializable {
|
|
716
716
|
* Calculates the Euclidean distance between two points (considering a
|
717
717
|
* point as a vector object).
|
718
718
|
*
|
719
|
-
|
719
|
+
|
720
720
|
*
|
721
721
|
* @return
|
722
722
|
* @webref pvector:method
|
@@ -750,7 +750,7 @@ public class PVector implements Serializable {
|
|
750
750
|
*
|
751
751
|
* Calculates the dot product of two vectors.
|
752
752
|
*
|
753
|
-
|
753
|
+
|
754
754
|
*
|
755
755
|
* @webref pvector:method
|
756
756
|
* @usage web_application
|
@@ -790,7 +790,7 @@ public class PVector implements Serializable {
|
|
790
790
|
* Calculates and returns a vector composed of the cross product between
|
791
791
|
* two vectors.
|
792
792
|
*
|
793
|
-
|
793
|
+
|
794
794
|
*
|
795
795
|
* @return
|
796
796
|
* @webref pvector:method
|
@@ -846,7 +846,7 @@ public class PVector implements Serializable {
|
|
846
846
|
*
|
847
847
|
* Normalize the vector to length 1 (make it a unit vector).
|
848
848
|
*
|
849
|
-
|
849
|
+
|
850
850
|
*
|
851
851
|
* @return
|
852
852
|
* @webref pvector:method
|
@@ -885,7 +885,7 @@ public class PVector implements Serializable {
|
|
885
885
|
*
|
886
886
|
* Limit the magnitude of this vector to the value used for the <b>max</b> parameter.
|
887
887
|
*
|
888
|
-
|
888
|
+
|
889
889
|
*
|
890
890
|
* @return
|
891
891
|
* @webref pvector:method
|
@@ -907,7 +907,7 @@ public class PVector implements Serializable {
|
|
907
907
|
*
|
908
908
|
* Set the magnitude of this vector to the value used for the <b>len</b> parameter.
|
909
909
|
*
|
910
|
-
|
910
|
+
|
911
911
|
*
|
912
912
|
* @return
|
913
913
|
* @webref pvector:method
|
@@ -940,7 +940,7 @@ public class PVector implements Serializable {
|
|
940
940
|
*
|
941
941
|
* Calculate the angle of rotation for this vector (only 2D vectors)
|
942
942
|
*
|
943
|
-
|
943
|
+
|
944
944
|
*
|
945
945
|
* @webref pvector:method
|
946
946
|
* @usage web_application
|
@@ -968,7 +968,7 @@ public class PVector implements Serializable {
|
|
968
968
|
*
|
969
969
|
* Rotate the vector by an angle (only 2D vectors), magnitude remains the same
|
970
970
|
*
|
971
|
-
|
971
|
+
|
972
972
|
*
|
973
973
|
* @return
|
974
974
|
* @webref pvector:method
|
@@ -990,7 +990,7 @@ public class PVector implements Serializable {
|
|
990
990
|
*
|
991
991
|
* Linear interpolate the vector to another vector
|
992
992
|
*
|
993
|
-
|
993
|
+
|
994
994
|
*
|
995
995
|
* @return
|
996
996
|
* @webref pvector:method
|
@@ -1043,7 +1043,7 @@ public class PVector implements Serializable {
|
|
1043
1043
|
*
|
1044
1044
|
* Calculates and returns the angle (in radians) between two vectors.
|
1045
1045
|
*
|
1046
|
-
|
1046
|
+
|
1047
1047
|
*
|
1048
1048
|
* @return
|
1049
1049
|
* @webref pvector:method
|
@@ -1094,7 +1094,7 @@ public class PVector implements Serializable {
|
|
1094
1094
|
* for temporary use. If used in any other fashion, the contents should be
|
1095
1095
|
* copied by using the <b>PVector.get()</b> method to copy into your own array.
|
1096
1096
|
*
|
1097
|
-
|
1097
|
+
|
1098
1098
|
*
|
1099
1099
|
* @return
|
1100
1100
|
* @webref pvector:method
|
@@ -47,13 +47,13 @@ import processing.core.PConstants;
|
|
47
47
|
|
48
48
|
/**
|
49
49
|
* <p>Generic class for handling tabular data, typically from a CSV, TSV, or
|
50
|
-
* other sort of spreadsheet file
|
50
|
+
* other sort of spreadsheet file.
|
51
51
|
* <p>CSV files are
|
52
52
|
* <a href="http://en.wikipedia.org/wiki/Comma-separated_values">comma separated values</a>,
|
53
53
|
* often with the data in quotes. TSV files use tabs as separators, and usually
|
54
|
-
* don't bother with the quotes
|
55
|
-
* <p>File names should end with .csv if they're comma separated
|
56
|
-
* <p>A rough "spec" for CSV can be found <a href="http://tools.ietf.org/html/rfc4180">here</a
|
54
|
+
* don't bother with the quotes.
|
55
|
+
* <p>File names should end with .csv if they're comma separated.
|
56
|
+
* <p>A rough "spec" for CSV can be found <a href="http://tools.ietf.org/html/rfc4180">here</a>.
|
57
57
|
*
|
58
58
|
* @webref data:composite
|
59
59
|
* @see PApplet#loadTable(String)
|
@@ -37,7 +37,7 @@ import java.net.*;
|
|
37
37
|
* goes wrong with the connection, for example the host is not there or is
|
38
38
|
* listening on a different port, an exception is thrown.
|
39
39
|
*
|
40
|
-
|
40
|
+
|
41
41
|
* @webref net
|
42
42
|
* @brief The client class is used to create client Objects which connect to a server to exchange data.
|
43
43
|
* @instanceName client any variable of type Client
|
@@ -153,7 +153,7 @@ public class Client implements Runnable {
|
|
153
153
|
* Disconnects from the server. Use to shut the connection when you're
|
154
154
|
* finished with the Client.
|
155
155
|
*
|
156
|
-
|
156
|
+
|
157
157
|
* @webref client:client
|
158
158
|
* @brief Disconnects from the server
|
159
159
|
* @usage application
|
@@ -311,7 +311,7 @@ public class Client implements Runnable {
|
|
311
311
|
* Returns true if this client is still active and hasn't run
|
312
312
|
* into any trouble.
|
313
313
|
*
|
314
|
-
|
314
|
+
|
315
315
|
* @webref client:client
|
316
316
|
* @brief Returns true if this client is still active
|
317
317
|
* @usage application
|
@@ -326,7 +326,7 @@ public class Client implements Runnable {
|
|
326
326
|
*
|
327
327
|
* Returns the IP address of the computer to which the Client is attached.
|
328
328
|
*
|
329
|
-
|
329
|
+
|
330
330
|
* @webref client:client
|
331
331
|
* @usage application
|
332
332
|
* @brief Returns the IP address of the machine as a String
|
@@ -345,7 +345,7 @@ public class Client implements Runnable {
|
|
345
345
|
* Returns the number of bytes available. When any client has bytes
|
346
346
|
* available from the server, it returns the number of bytes.
|
347
347
|
*
|
348
|
-
|
348
|
+
|
349
349
|
* @webref client:client
|
350
350
|
* @usage application
|
351
351
|
* @brief Returns the number of bytes in the buffer waiting to be read
|
@@ -362,7 +362,7 @@ public class Client implements Runnable {
|
|
362
362
|
*
|
363
363
|
* Empty the buffer, removes all the data stored there.
|
364
364
|
*
|
365
|
-
|
365
|
+
|
366
366
|
* @webref client:client
|
367
367
|
* @usage application
|
368
368
|
* @brief Clears the buffer
|
@@ -382,7 +382,7 @@ public class Client implements Runnable {
|
|
382
382
|
* the buffer. Returns -1 if there is no byte, although this should be
|
383
383
|
* avoided by first cheacking <b>available()</b> to see if any data is available.
|
384
384
|
*
|
385
|
-
|
385
|
+
|
386
386
|
* @webref client:client
|
387
387
|
* @usage application
|
388
388
|
* @brief Returns a value from the buffer
|
@@ -407,7 +407,7 @@ public class Client implements Runnable {
|
|
407
407
|
* Returns the next byte in the buffer as a char. Returns -1 or 0xffff if
|
408
408
|
* nothing is there.
|
409
409
|
*
|
410
|
-
|
410
|
+
|
411
411
|
* @webref client:client
|
412
412
|
* @usage application
|
413
413
|
* @brief Returns the next byte in the buffer as a char
|
@@ -431,7 +431,7 @@ public class Client implements Runnable {
|
|
431
431
|
* of bytes read. If more bytes are available than can fit into the
|
432
432
|
* <b>byteBuffer</b>, only those that fit are read.
|
433
433
|
*
|
434
|
-
|
434
|
+
|
435
435
|
* <h3>Advanced</h3>
|
436
436
|
* Return a byte array of anything that's in the serial buffer.
|
437
437
|
* Not particularly memory/speed efficient, because it creates
|
@@ -531,7 +531,7 @@ public class Client implements Runnable {
|
|
531
531
|
* not large enough, -1 is returned and an error is printed to the message
|
532
532
|
* area. If nothing is in the buffer, 0 is returned.
|
533
533
|
*
|
534
|
-
|
534
|
+
|
535
535
|
* @webref client:client
|
536
536
|
* @usage application
|
537
537
|
* @brief Reads from the buffer of bytes up to and including a particular character
|
@@ -623,7 +623,7 @@ public class Client implements Runnable {
|
|
623
623
|
* representation of your choice (i.e. UTF8 or two-byte Unicode data), and
|
624
624
|
* send it as a byte array.
|
625
625
|
*
|
626
|
-
|
626
|
+
|
627
627
|
* @webref client:client
|
628
628
|
* @usage application
|
629
629
|
* @brief Returns the buffer as a String
|
@@ -641,7 +641,7 @@ public class Client implements Runnable {
|
|
641
641
|
* Combination of <b>readBytesUntil()</b> and <b>readString()</b>. Returns
|
642
642
|
* <b>null</b> if it doesn't find what you're looking for.
|
643
643
|
*
|
644
|
-
|
644
|
+
|
645
645
|
* <h3>Advanced</h3>
|
646
646
|
*
|
647
647
|
* If you want to move Unicode data, you can first convert the
|
@@ -665,7 +665,7 @@ public class Client implements Runnable {
|
|
665
665
|
*
|
666
666
|
* Writes data to a server specified when constructing the client.
|
667
667
|
*
|
668
|
-
|
668
|
+
|
669
669
|
* @webref client:client
|
670
670
|
* @usage application
|
671
671
|
* @brief Writes bytes, chars, ints, bytes[], Strings
|