Browse Source

Added some String functions.

Mark Sibly 9 years ago
parent
commit
5d7a64329f
1 changed files with 5 additions and 0 deletions
  1. 5 0
      modules/monkey/types.monkey2

+ 5 - 0
modules/monkey/types.monkey2

@@ -330,6 +330,11 @@ Struct @String ="bbString"
 	
 	Function FromUtf8String:String( buf:Void Ptr )="bbString::fromUtf8String"
 	
+	
+	Function FromAsciiData:String( buf:Void Ptr,bufSize:Int )="bbString::fromAsciiData"
+
+	Function FromUtf8Data:String( buf:Void Ptr,bufSize:Int )="bbString::fromUtf8Data"
+	
 End
 
 #rem monkeydoc Primtive array type.